﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OBUActivation.Tags
{
    public class BaseMsg
    {
        //蓝牙协议命令类型记录
        public static int cmd_BST5 = 0X01;
        public static int cmd_VST5 = 0X02;

        //蓝牙协议数据帧序号
        //public byte flameNo;

        //蓝牙协议命令类型
        public byte cmdType;

        //报文内部报文头
        public byte flameSTX = 126;
        public byte[] macAbbr = new byte[4];
        public byte macControlDomain;
        public byte llcControlDomain;
        public byte segmentInitial;
        public static int HEAD_LENGTH = 8;


        //报文内部报文尾
        public byte[] FCS = new byte[2];
        public byte flameETX = 126;
        public static int END_LENGTH = 3;
    }
}
